A Shared Memory Interface between Labview and Epics*
نویسنده
چکیده
The diagnostics systems of the Spallation Neutron Source project are based on rack-mounted PCs with offthe-shelf and custom PCI hardware and LabVIEW. About twenty out of the total of three hundred systems are already installed and have been integrated into the EPICSbased control system. LabVIEW communicates with the EPICS IOC using a simple shared memory interface implemented in a dynamic linked library (DLL) based on previous work by Los Alamos National Laboratory. The DLL supports events and buffered communication of scalar data types such as integers, floats, and booleans, as well as single dimension arrays and strings. The LabVIEW programmer needs only minimal EPICS knowledge to use the interface. At a rep rate of 6 Hz, the writing and transmitting of 4 arrays of 1025 double precision variables plus twenty individual doubles give a 3% CPU load on a 2 GHz PC. This is fast enough for the planned applications. At higher rep rates, the interface comes close to utilize the full bandwidth of a 100 Mbit/sec ethernet connection. In this paper we describe the implementation and performance of the shared memory interface on both the EPICS and LabVIEW side.
منابع مشابه
Network Attached Devices at Sns*
The Spallation Neutron Source (SNS) diagnostic instruments at Oak Ridge National Laboratory are based on the Network Attached Device (NAD) concept. Each pickup or sensor has its own resources, such as networking, timing, data acquisition, and processing. NADs function independently thus reducing the brittleness inherent in tightly coupled systems. This paper describes our implementation of the ...
متن کاملIntegrating LabVIEW into a Distributed Computing Environment
Being easy to learn and well suited for a selfcontained desktop laboratory setup, many casual programmers prefer to use the National Instruments LabVIEW environment to develop their logic. An ActiveX interface is presented that allows integration into a plant-wide distributed environment based on the Experimental Physics and Industrial Control System (EPICS). This paper discusses the design dec...
متن کاملThe Slow Controls System of P̄ANDA
The Slow Controls framework of the P̄ANDA experiment is discussed, with an accent on recent progress, available documentation and tools, and development trends foreseen for the near future. Experiment Control System We envisage the Slow Controls System of the P̄ANDA experiment [1] rather as an Experiment Control System (ECS) [2], since it must control vital processes as machine state, run start/s...
متن کاملEPICS - Experimental Physics and Industrial Control System at GSI
EPICS (Experimental Physics and Industrial Control System) is a widely used scalable control system. At GSI the HADES group uses EPICS since its startup [1]. In order to build a GSI wide knowledge base on EPICS some other projects than HADES are started. For example FOPI is a nice target for different controls developments like the LabView based CS [2] and EPICS. For the FUTURE DAQ project of C...
متن کاملLaser Stabilization Controls for the Isac Beam Polarizer
The ISAC polarized beam facility uses a Ti:Sapphire laser for producing spin-polarized beams of short-lived radioactive isotopes, initially 7Li. The laser power and spectral content must be tightly controlled and monitored. The control system to accomplish this task uses techniques that combine operator interface, data reduction, and closed loop automation. The laser stabilization application u...
متن کامل